package yydy.pattern.create.prototype.example;

/**
 * @author LY
 * @description: TODO
 * @title: Rectangle
 * @projectName yydy_learn
 * @date 2020/11/3
 */
public class Rectangle extends Shape {

    public Rectangle(){
        type = "Rectangle";
    }

    @Override
    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
